package com.goldcn.goods.dto;

import java.math.BigDecimal;

/**
 * Created by Administrator on 2016/11/15.
 */
public class QueryResultGoodsDto {

    private Long goodsID;
    private String classifyID;
    private String classifyName;
    private String subClassifyID;
    private String subClassifyName;
    private String name;
    private BigDecimal price;
    private String labelName;
    private Integer sales;
    private Integer inventory;
    private String img;
    private Integer onsale;
    private Integer isAudit;
    private Long addTime;
    private Long soldoutTime;
    private String state;
    private String supplierName;
    private String title;
    private String prdNo;
    private Long companyID;
    private Integer priceType;
    //要代理的商品ID
    private Long sourceGoodsID;

    private BigDecimal vipPrice;

    private BigDecimal agencyPrice;


    private Long shopID;

    private  Integer onsaleflag;

    private  String attr;

    private  BigDecimal origPrice;//原价

    public String getAttr() {
        return attr;
    }

    public void setAttr(String attr) {
        this.attr = attr;
    }

    public String getPrdNo() {
        return prdNo;
    }

    public void setPrdNo(String prdNo) {
        this.prdNo = prdNo;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Long getGoodsID() {
        return goodsID;
    }

    public void setGoodsID(Long goodsID) {
        this.goodsID = goodsID;
    }

    public String getClassifyName() {
        return classifyName;
    }

    public void setClassifyName(String classifyName) {
        this.classifyName = classifyName;
    }

    public String getSubClassifyName() {
        return subClassifyName;
    }

    public void setSubClassifyName(String subClassifyName) {
        this.subClassifyName = subClassifyName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPrice() {
        return price + "";
    }

    public void setPrice(BigDecimal price) {
        this.price = price.setScale(2, BigDecimal.ROUND_HALF_UP);
    }

    public String getLabelName() {
        return labelName;
    }

    public void setLabelName(String labelName) {
        this.labelName = labelName;
    }

    public Integer getSales() {
        return sales;
    }

    public void setSales(Integer sales) {
        this.sales = sales;
    }

    public Integer getInventory() {
        return inventory;
    }

    public void setInventory(Integer inventory) {
        this.inventory = inventory;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public Integer getOnsale() {
        return onsale;
    }

    public void setOnsale(Integer onsale) {
        this.onsale = onsale;
    }

    public Integer getIsAudit() {
        return isAudit;
    }

    public void setIsAudit(Integer isAudit) {
        this.isAudit = isAudit;
    }

    public Long getAddTime() {
        return addTime;
    }

    public void setAddTime(Long addTime) {
        this.addTime = addTime;
    }

    public Long getSoldoutTime() {
        return soldoutTime;
    }

    public void setSoldoutTime(Long soldoutTime) {
        this.soldoutTime = soldoutTime;
    }

    public String getClassifyID() {
        return classifyID;
    }

    public void setClassifyID(String classifyID) {
        this.classifyID = classifyID;
    }

    public String getSubClassifyID() {
        return subClassifyID;
    }

    public void setSubClassifyID(String subClassifyID) {
        this.subClassifyID = subClassifyID;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public Long getCompanyID() {
        return companyID;
    }

    public void setCompanyID(Long companyID) {
        this.companyID = companyID;
    }

    public Integer getPriceType() {
        return priceType;
    }

    public void setPriceType(Integer priceType) {
        this.priceType = priceType;
    }

    public Long getSourceGoodsID() {
        return sourceGoodsID;
    }

    public void setSourceGoodsID(Long sourceGoodsID) {
        this.sourceGoodsID = sourceGoodsID;
    }


    public BigDecimal getVipPrice() {
        return vipPrice;
    }

    public void setVipPrice(BigDecimal vipPrice) {
        this.vipPrice = vipPrice;
    }

    public Long getShopID() {
        return shopID;
    }

    public void setShopID(Long shopID) {
        this.shopID = shopID;
    }

    public Integer getOnsaleflag() {
        return onsaleflag;
    }

    public void setOnsaleflag(Integer onsaleflag) {
        this.onsaleflag = onsaleflag;
    }

    public BigDecimal getAgencyPrice() {
        return agencyPrice;
    }

    public void setAgencyPrice(BigDecimal agencyPrice) {
        this.agencyPrice = agencyPrice;
    }

    public BigDecimal getOrigPrice() {
        return origPrice;
    }

    public void setOrigPrice(BigDecimal origPrice) {
        this.origPrice = origPrice;
    }
}
